package br.brpv.silvestrin.vendas.listeners;

import android.content.Context;
import br.brpv.silvestrin.vendas.domain.Address;
import br.brpv.silvestrin.vendas.domain.Client;
import br.brpv.silvestrin.vendas.domain.Placa;

import java.util.ArrayList;

public interface ClientsQueryListener {
    public void OnWebServiceClientsReturn(ArrayList<Client> clientsList);
    public void failedOnRetrieveClients();

    public void OnWebServiceClientPlacasReturn(ArrayList<Placa> placas);
    public void failedOnRetrieveClientPlacas();

    public void OnWebServiceClientAddressReturn(ArrayList<Address> addresses);
    public void failedOnRetrieveClientAddress();

    public Context getActivity();

    public void OnWebServiceSetClientPlacaReturn(String resultString);
    public void failedOnSetClientPlaca();

    public void OnWebServiceSetClientAddressReturn(String resultString);
    public void failedOnSetClientAddress();
}
